<form class="form-inline statistic well">
    <label>商户号</label>
    <input type="text" class="form-control" ng-model="appId" style="width: 15%" >
    <label>开始时间</label>
    <input type="text" id="datetimepicker1" class="form-control" style="width: 20%" ng-model="startTime" readonly>
    <label>结束时间</label>
    <input type="text" id="datetimepicker2" class="form-control" style="width: 20%" ng-model="endTime" readonly>
    <input type="button" class="btn btn-primary" value="查询" ng-click="query()">
    <input type="button" class="btn btn-primary"  value="清空" ng-click="reset()">
</form>
<table class="table table-bordered table-hover">
    <thead>
    <tr>
        <th >序号</th>
        <th >商户号</th>
        <th >发送成功数</th>
        <th >发送失败数</th>
    </tr>
    </thead>
    <tbody>
    <tr ng-repeat="item in items">
        <th>{{$index+1}}</th>
        <td>{{item.appId}}</td>
        <td>{{item.num_success}}</td>
        <td>{{item.num_fail}}</td>
    </tr>
    </tbody>
</table>
<nav>
    <ul class="pagination">
        <li>
            <a ng-click="First()">
                <span>首页</span>
            </a>
        </li>
        <li>
            <a ng-click="Previous()">
                <span>上一页</span>
            </a>
        </li>
        <li ng-repeat="page in pageList" ng-class="{active: isActivePage(page)}" >
            <a ng-click="selectPage(page)" >{{ page }}</a>
        </li>
        <li>
            <a ng-click="Next()">
                <span>下一页</span>
            </a>
        </li><li>
        <a ng-click="Last()">
            <span>尾页</span>
        </a>
    </li>
    </ul>
</nav>